package com.aspose.cells.b.a.d;

import java.io.File;
import java.util.ArrayList;

public class zc {
   // $FF: synthetic field
   static final boolean a = !zc.class.desiredAssertionStatus();

   public static boolean a(String var0) {
      return (new File(var0)).isDirectory();
   }

   public static void b(String var0) {
      (new File(var0)).mkdirs();
   }

   public static String[] c(String var0) {
      File[] var1 = (new File(var0)).listFiles();
      ArrayList var2 = new ArrayList();
      if (var1 != null) {
         File[] var3 = var1;
         int var4 = var1.length;

         for(int var5 = 0; var5 < var4; ++var5) {
            File var6 = var3[var5];
            if (var6.isFile()) {
               var2.add(var6.getAbsolutePath());
            }
         }
      } else {
         com.aspose.cells.a.e.zf.a("Invalid directory: " + var0);
      }

      return (String[])var2.toArray(new String[var2.size()]);
   }
}
